tagdoc=$1TagDoc.xml.xq
taglib=$1TagLib.xstag.xq
calldoc=$1CallDoc.xml.xq
calllib=$1CallLib.xstag.xq

sed 's/<?xml version="1.0" encoding="UTF-8"?>//g' $tagdoc > $tagdoc.temp
sed 's/<?xml version="1.0" encoding="UTF-8"?>//g' $taglib > $taglib.temp
sed 's/<?xml version="1.0" encoding="UTF-8"?>//g' $calldoc > $calldoc.temp
sed 's/<?xml version="1.0" encoding="UTF-8"?>//g' $calllib > $calllib.temp

mv $tagdoc.temp $tagdoc
mv $taglib.temp $taglib
mv $calldoc.temp $calldoc
mv $calllib.temp $calllib
